package demo6;

public class while_loop {
    public static void main(String[] args) {
        int b = 10;
        while (b < 20) {
            System.out.println("b的值是：" + b);
            System.out.println("\n");
            b++;
        }
        int c = 10;
        do {
            System.out.println("c的值是：" + c);
            c++;
            System.out.println("\n");
        } while (c < 20);
    }
}
